]> dgit.raspbian.org Git - gnome-shell.git/commit
window-clone: Use ClutterClickAction
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 21 Sep 2011 00:54:06 +0000 (02:54 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 11 Oct 2011 10:56:34 +0000 (12:56 +0200)
commit7bc2573d8581560a032e829daaf2be4d93a16256
treefdb0b50f24af2ed3ad40380c31687f7df173d9d7
parent67b7b7a950c4b090bf44347dbea176824f901414
window-clone: Use ClutterClickAction

Right-click menus in the dash can be dismissed by clicking anywhere
outside the menu. However, if a window clone is located beneath the
pointer when doing so, the window is activated and the overview
closed.
The cause of this unexpected behavior is that window previews are
activated on button-release, which is delivered to the preview after
the menu releases its grab on button-press. Use a ClutterClickAction
instead and let Clutter do the right thing, i.e. only trigger a
'clicked' signal when a button-release event is matched by a
corresponding button-press event.

https://bugzilla.gnome.org/show_bug.cgi?id=661151
js/ui/workspace.js